var runtime.cpuprof
33 uses
runtime (current package)
cpuprof.go#L59: var cpuprof cpuProfile
cpuprof.go#L77: lock(&cpuprof.lock)
cpuprof.go#L79: if cpuprof.on || cpuprof.log != nil {
cpuprof.go#L81: unlock(&cpuprof.lock)
cpuprof.go#L85: cpuprof.on = true
cpuprof.go#L86: cpuprof.log = newProfBuf(1, profBufWordCount, profBufTagCount)
cpuprof.go#L88: cpuprof.log.write(nil, nanotime(), hdr[:], nil)
cpuprof.go#L90: } else if cpuprof.on {
cpuprof.go#L92: cpuprof.on = false
cpuprof.go#L93: cpuprof.addExtra()
cpuprof.go#L94: cpuprof.log.close()
cpuprof.go#L96: unlock(&cpuprof.lock)
cpuprof.go#L122: cpuprof.log.write(tagPtr, nanotime(), hdr[:], stk)
cpuprof.go#L150: if cpuprof.numExtra+1+len(stk) < len(cpuprof.extra) {
cpuprof.go#L151: i := cpuprof.numExtra
cpuprof.go#L152: cpuprof.extra[i] = uintptr(1 + len(stk))
cpuprof.go#L153: copy(cpuprof.extra[i+1:], stk)
cpuprof.go#L154: cpuprof.numExtra += 1 + len(stk)
cpuprof.go#L156: cpuprof.lostExtra++
cpuprof.go#L227: lock(&cpuprof.lock)
cpuprof.go#L228: log := cpuprof.log
cpuprof.go#L229: unlock(&cpuprof.lock)
cpuprof.go#L236: lock(&cpuprof.lock)
cpuprof.go#L237: cpuprof.log = nil
cpuprof.go#L238: unlock(&cpuprof.lock)
proc.go#L705: lockInit(&cpuprof.lock, lockRankCpuprof)
proc.go#L4917: cpuprof.lostAtomic++
proc.go#L4925: cpuprof.lostAtomic++
proc.go#L4997: cpuprof.add(tagPtr, stk[:n])
signal_unix.go#L525: cpuprof.addNonGo(sigprofCallers[:n])
signal_unix.go#L544: cpuprof.addNonGo(stk)
|
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |